package com.ymtms.statisticalform.dao;

import com.ymtms.statisticalform.pojo.Emp;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EmpMapper {
    int deleteByPrimaryKey(Integer eiid);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Integer eiid);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    @Select("SELECT employee_code,employee_name,department,position FROM emp_information")
    List<Emp> selectEmpAll();
}